<#include "/common/head.ftl">

<br/>

<@display.table id="listTable" name="offerings" sort="list" defaultorder="descending" defaultsort="5" pagesize="20">
	<@display.column title="${i18n.getMessage('name')}" property="name" sortable="true"></@display.column>
	<@display.column title="${i18n.getMessage('room')}" property="room.code" sortable="true"></@display.column>
	<@display.column title="${i18n.getMessage('shift')}" sortable="true" style="text-align:center">${(listTable.shift.startTime?time)!}-${(listTable.shift.endTime?time)!}</@display.column>
	<@display.column title="${i18n.getMessage('startDate')}" property="startDate" format="{0, date, ${i18n.getMessage('format.date')}}" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('endDate')}" property="endDate" format="{0, date, ${i18n.getMessage('format.date')}}" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('Mon')}" style="text-align:center">${(listTable.monTeacher.firstName)!}</@display.column>
	<@display.column title="${i18n.getMessage('Tue')}" style="text-align:center">${(listTable.tueTeacher.firstName)!}</@display.column>
	<@display.column title="${i18n.getMessage('Wed')}" style="text-align:center">${(listTable.wedTeacher.firstName)!}</@display.column>
	<@display.column title="${i18n.getMessage('Thu')}" style="text-align:center">${(listTable.thuTeacher.firstName)!}</@display.column>
	<@display.column title="${i18n.getMessage('Fri')}" style="text-align:center">${(listTable.friTeacher.firstName)!}</@display.column>
	<@display.column title="${i18n.getMessage('Sat')}" style="text-align:center">${(listTable.satTeacher.firstName)!}</@display.column>
	<@display.column title="Result" style="text-align:center">
		<a href="#" onclick="pp('../study/showReportMidtermTest.sgt?offeringId=${listTable.id}')">M</a>
		- <a href="#" onclick="pp('../study/showReportFinalTest.sgt?offeringId=${listTable.id}')">F</a>
		- <a href="#" onclick="pp('../study/showReportAllFinalTestResult.sgt?offeringId=${listTable.id}')">A</a>
	</@display.column>
</@display.table>

<br/><br/>


